package com.ssh.manager;

import java.util.List;
import java.util.Map;

import com.ssh.common.util.Page;
import com.ssh.entity.Activity;
import com.ssh.entity.Company;
import com.ssh.entity.SuperMarket;

public interface ActivityManager {
	public List<Activity> list();
	
	/**
	 * 查询参加活动的所有系统
	 * @param 活动id
	 * @return
	 */
	public List<Company> companyList(long activityId);
	public List<Map<String, String>> superMarketList(long activityId,long companyId);
	
	public void findList(Map conditionMap, Page page, String isDesc);
	
	public Activity saveUpdate(Activity activity);
	
	public Activity getById(Long id);
	
	public boolean delete(Long id);
	
}
